Avoid deprecation warnings from GTK_ALIGN_BASELINE_FILL
authorMatthias Clasen <mclasen@redhat.com>
Fri, 9 Jun 2023 10:39:02 +0000 (06:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Jun 2023 12:17:34 +0000 (08:17 -0400)
commitc67f3c50389b2826de6a32fe3809305ce2730392
treeca126e07f0ee1f46e1984db05112867c707abfc4
parent1bee1cd1808c0574eddcc4f9a428abeccdaf3c4b
Avoid deprecation warnings from GTK_ALIGN_BASELINE_FILL

We have to be careful to only use GDK_ALIGN_BASELINE_FILL when
permitted by GDK_VERSION_MAX_ALLOWED because gtkenums.h is a
public header.

Fixes: #5875
I don't think we can avoid conditional compilation here, because the old definition is going to cause deprecated declaration warnings unless you define an old GDK_VERSION_MIN_REQUIRED.
gtk/gtkenums.h